<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>计次消费日志</title>
<!--公共样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/reset.css">
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/common.css">
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome.min.css">
<!--公共样式结束-->
<!--页面样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/module_form.css">
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/page_jiciList.css">
<!--页面样式结束--
<!--公共JS开始-->
<script src="{$NOW_THEME_URL}/Assets/Js/jquery.min.js"></script>
<script src="{$NOW_THEME_URL}/Assets/Js/jquery.timer.js"></script>
<script src="{$NOW_THEME_URL}/Assets/Js/common.js"></script>
<!--公共JS结束-->
<!--数据列表插件开始-->
<link href="{$NOW_THEME_URL}/Assets/Plugins/ContextMenu/src/jquery.contextMenu.css" rel="stylesheet" type="text/css" />
<script src="{$NOW_THEME_URL}/Assets/Plugins/ContextMenu/src/jquery.ui.position.js"></script>
<script src="{$NOW_THEME_URL}/Assets/Plugins/ContextMenu/src/jquery.contextMenu.js"></script>
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/Etgrid/Css/etgrid.css">
<script src="{$NOW_THEME_URL}/Assets/Plugins/Etgrid/Js/etgrid.js"></script>
<!--数据列表插件结束-->
<style type="text/css">
	body {
		overflow:hidden;
	}
</style>
</head>

<body>
	<div class="yhlist clearfix">
		<div class="table_box1">
			<table cellpadding="0" cellspacing="0" class="module_form" width="100%">
				<tr>
					<th class="center">计次项目</th>
					<th class="center">使用次数</th>
					<th class="center">备注</th>
					<th class="center">消费时间</th>
				</tr>
				<volist name="detail" id="k">
					<tr>
						<td class="center">{$k.title}</td>
						<td class="center">{$k.num}</td>
						<td class="center">{$k.content}</td>
						<td class="center">{$k.addtime|date='Y-m-d H:i:s',###}</td>
					</tr>
				</volist>
			</table>
		</div>
	</div>
</body>
<script type="text/javascript">
	
	//表格隔行换色
	$('.module_form tr:odd').addClass('odd');
	$('.module_form tr:even').addClass('even');
	
	//列表自适应
	function table_box1Show(){
		var yh_height =  $(window).height() - 230;
		$('.table_box1').height(yh_height);
	}
	//初始化调用
	table_box1Show();
	//窗口改变大小调用
	$(window).on('resize',function(){
		table_box1Show();
	});
</script>
</html>
